const log4js = require('log4js');
log4js.configure({
    appenders: {
        logs: {
                type: 'file',
                filename: __dirname + '/log/logs.log'
            },
        uplogs:{
            type:'file',
            filename:__dirname+'/log/upload.log'
        }
    },
    categories: {
        default: {
            appenders: ['logs','uplogs'],
            level: 'info'
        }
    }
});
module.exports = log4js;